package org.ala.tiktools.sharddb.mybatis.summary;

import org.ala.tiktools.mybatis.interfaces.IOrderBy;
import org.ala.tiktools.sharddb.mybatis.router.ShardInfo;

import java.util.Map;

/**
 * 含OrderBy的汇总结果
 *
 * @author ala
 * @date 2025-02-21 12:26
 */
public interface IShardOrderBySummary<E>  extends ISummary<E> {
    /**
     *  汇总
     */
    E summary(IOrderBy<E> orderBy, Map<ShardInfo, E> e);
}
